package com.lcy.web

import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.context.annotation.Configuration
import org.springframework.context.annotation.ImportResource

/**
 * Created by loucunyin on 6/24/17.
 */
@SpringBootApplication
@ImportResource("spring.xml")
@Configuration
open class MyApplication {

}
fun main(args: Array<String>) {
    SpringApplication.run(MyApplication::class.java, *args)
}